a matter of principle

Translations
вопрос принципа
He refused to compromise because it was a matter of principle.
Он отказался идти на компромисс, потому что это был вопрос принципа.
Definitions
A situation or decision that is based on a person's beliefs or values rather than on practical considerations or outcomes.